package fr.uvsq.isty.bdh.hchess.interfacing;


/**
 *
 * @author Clement Bellot <clementbellot@gmail.com>
 */
public class GameEventRefereeNotifier {
    private Referee toNotify;
    private boolean player;
    GameEventRefereeNotifier(Referee toNotify,boolean player){
        this.toNotify = toNotify;
        this.player = player;
    }
    public void notifyEvent(GameEvent event){
        toNotify.reciveEvent(this.player,event);
    }
}
